package com.boe.csb.core.common;

import com.boe.csb.core.common.utils.PropertyUtils;

/**
 * Created by tianjin.lp on 16/11/22.
 */
public class CsbConstants {

    /**
     * 阿里云CSB相关配置
     */
    public static final String CSB_API_HOST = PropertyUtils.getProperty("csb.rest.api.host");
    public static final String CSB_API_AK = PropertyUtils.getProperty("csb.rest.api.ak");
    public static final String CSB_API_SK = PropertyUtils.getProperty("csb.rest.api.sk");
    public static final String CSB_INSTANCE_NAME = PropertyUtils.getProperty("csb.instance.name");
    public static final String CSB_ADMIN_LOGINID= PropertyUtils.getProperty("csb.admin.loginId");
    
    public static final String CSB_API_ADDRESS = PropertyUtils.getProperty("boe.api.address");
    
    /**激活邮件前缀*/
    public static final String ACTIVE_PREURL = PropertyUtils.getProperty("mail.active.preurl");
    /**激活邮件主题*/
    public static final String ACTIVE_MAIL_SUBJECT = PropertyUtils.getProperty("mail.active.subject");
    /**忘记密码邮件主题*/
    public static final String FORGET_PASSWORD_MAIL_SUBJECT = PropertyUtils.getProperty("mail.forgetPassword.subject");
    /**服务校审邮件主题*/
    public static final String SERVICE_AUDIT_MAIL_SUBJECT = PropertyUtils.getProperty("mail.serviceAudit.subject");
    /**用户校审邮件主题*/
    public static final String CERTIFICATION_MAIL_SUBJECT =  PropertyUtils.getProperty("mail.certification.subject");
    /**审批通知邮件主题*/
    public static final String APPROVAL_NOTICE_MAIL_SUBJECT = PropertyUtils.getProperty("mail.approval.subject");
    
    /**短信失效时间*/
    public static final int MOBILE_MSG_EXPIRED_TIME = PropertyUtils.getIntProperty("mobile.msg.expired.time");
    /**短信发送间隔*/
    public static final int MOBILE_MSG_SEND_GAP = PropertyUtils.getIntProperty("mobile.msg.send.gap");
    
    /**短信ws endpoing*/
    public static final String MOBILE_CALL_ENDPOINT = PropertyUtils.getProperty("boe.sms.endpoint");
    /**ws调用的namespace*/
    public static final String MOBILE_CALL_NAMESPACE = PropertyUtils.getProperty("boe.sms.namespace");
    /**发送短信账号*/
    public static final String MOBILE_CALL_ACCOUNT = PropertyUtils.getProperty("boe.sms.user");
    /**发送短信密码*/
    public static final String MOBILE_CALL_PWD = PropertyUtils.getProperty("boe.sms.pwd");
    /**短信类型*/
    public static final String MOBILE_CALL_SMSTYPE = PropertyUtils.getProperty("boe.sms.smsType");
    /**短信ws发送方法名称*/
    public static final String MOBILE_CALL_FUNCNAME = PropertyUtils.getProperty("boe.sms.callfunc");
    /**注册短信模板*/
    public static final String MOBILE_REG_TEPL = PropertyUtils.getProperty("boe.sms.regmsg.tpl");

    /**使用boe or aliyun短信平台*/
    public static final String MOBILE_SEND_IMPL = PropertyUtils.getProperty("mobile.send.impl");
}
